using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace xingzhimeng
{
  ///<summary>
  ///
  ///</summary>
public class ShootScoreManager : MonoBehaviour
  {
    //得分，射击计数管理器
    public static ShootScoreManager insernt;
    public Text shoot, score;

    private void Awake()
    {
      insernt = this;
    }

    public void ResetShootNum(int count)
    {
      int current = int.Parse(shoot.text);
      shoot.text = current + count+"";
    }

    public void ResetScore(int fen)
    {
      int currentScore =int.Parse( score.text);
      score.text = currentScore + fen + "";
    }
  }

}

